<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<meta name = "viewport" content = "width = device-width"> 

<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, user-scalable=no" />
	<title>Khaki</title>
	<link rel = "stylesheet" href = "EdgeToEdge.css" /></head><body onload="onLoad()"><script language="javascript" type="text/javascript"><!-- 

function onLoad() {
	ajax();
	setInterval("ajax()", 1000);
}

var request;
var mode = "";function ajax(){
	// Non Microsoft platforms	if (window.XMLHttpRequest) {		//var mode = document.getElementById('mode').value;
		if(mode == ""){
		} else {
			request = new XMLHttpRequest();
			request.onreadystatechange = function() {ajaxDone();};			var queryString = "?mode=" + mode;			request.open("GET", "khaki.php" + queryString, true);			request.send(null);
		}
	}
}

function ajaxDone() {	if(request.readyState == 4){		var ajaxDisplay = document.getElementById('ajaxDiv');		ajaxDisplay.innerHTML = request.responseText;	}}//--></script>
<!-- Use a single <ul> tag to create the entire list. All the <ul> and <li> properties are defined in the EdgeToEdge.css file -->
	<ul>
		<div id='ajaxDiv'>
		<!-- The button class, in the EdgeToEdge.css file, creates a rounded rectangle button -->
		<li><a onclick="mode='Audio'">Audio<span class="button">Alpine</span></a></li>
		<li><a onclick="mode='Diagnostics'">Diagnostics<span class="button">Elm</span></a></li>
		</div>
	</ul></body></html>

<!-- ***** BEGIN LICENSE BLOCK *****
The contents of this file are subject to the Mozilla Public LicenseVersion 1.1 (the "License"); you may not use this file except incompliance with the License. You may obtain a copy of the License athttp://www.mozilla.org/MPL/Software distributed under the License is distributed on an "AS IS"basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See theLicense for the specific language governing rights and limitationsunder the License.The Original Code is the Khaki AJAX Client.The Initial Developer of the Original Code is Michael Robinson <mhrobinson@gmail.com>.Portions created by the Initial Developer are Copyright (C) 2007the Initial Developer. All Rights Reserved.Contributor(s):
***** END LICENSE BLOCK ***** -->